package com.cherish.web.driver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cherish.utils.Message;
import com.cherish.web.driver.entity.Driver;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Author:MQ
 * Date:2024/1/511:51
 */
@Mapper
public interface DriverMapper extends BaseMapper<Driver> {
    List<Driver> getDriverListByUsername(Map params);

    Driver getDriverInfoById(Map params);

    Message saveDriverInfo(Map params);

    Message removeDriverById(Map params);


}
